<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Invoice extends Model
{
    const UPDATED_AT = 'updatedAt';

    const CREATED_AT = 'createdAt';

    protected $fillable = ['userId', 'orderId', 'title', 'taxesNo', 'name', 'mobile', 'tel', 'address'];
    protected $dates = [];

    protected function getDateFormat()
    {
        return time();
    }
    public static $rules = [
        // Validation rules
    ];
}
